package com.lry.basic.design_mode.proxy;

/**
 * @author:刘仁有
 * @desc:
 * @email:953506233@qq.com
 * @data:2019/11/26
 */
public class Main {
    public static void main(String[] args) {
        Service service = new UserService();
        service.query();
        System.out.println("________");
        Service logService = new UserServiceLog(service);
        logService.query();
        System.out.println("________");
        Service powerService = new UserServicePower(logService);
        powerService.query();
    }
}
